.image-editor-page-box {
  img {
    -webkit-user-drag: none;
  }

  min-height: 100vh;
  height: 100%;
  width: 100%;
  overflow: hidden;

  .header-tool {
    height: 60px;
    width: 100%;
    align-items: center;
    padding: 0 20px;
    background: #ffffff;
    display: flex;
    justify-content: center;

    .zoom-tool {
      display: flex;
      align-items: center;
      gap: 20px;
      .zoom-slider-value {
        width: 20px;
      }
    }

    .zoom-box {
      // box-shadow: 0px 0px 10px 0px #E6E7EB;
      border-radius: 4px;
      border: 1px solid #E6E7EB;
      padding: 0 10px;
      font-size: 12px;

      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 9px;

      &__input {
        width: 46px;
        border-radius: 0;
        border: none;
        box-shadow: none;

        >.ant-input-number-input-wrap {
          >.ant-input-number-input {
            text-align: center;
            padding-left: 0;
            padding-right: 0;
          }
        }
      }
    }

    .sizeW {
      width: 72px;
      height: 28px;
      background: #FFFFFF;
      border-radius: 4px;
      border: 1px solid #E6E7EB;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 11px;

      .label {
        font-size: 12px;
        color: #999CA3;
      }
    }
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;

    .editor-area {
      // overflow: hidden;
      position: relative;

      .cropSet {
        width: 350px;
        height: 50px;
        background: #ffffff;
        position: absolute;
        top: -22px;
        left: 0;
        z-index: 99;
        border-radius: 4px;
        display: flex;
        padding: 0 16px;
        gap: 8px;
        justify-content: center;
        align-items: center;
      }

      .drawing-tool-detail {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        width: 200px;
        background: #ffffff;
        position: absolute;
        top: -22px;
        left: 0;
        z-index: 99;
        border-radius: 4px;
        .drawing-tool-detail-item {
          display: flex;
          align-items: center;
          gap: 10px;
          color: black;
          .drawing-tool-slider-bar {
            width: 100px;
          }
        }
        .drawing-tool-detail-item-btn {
          width: 100%;
          display: flex;
          justify-content: flex-end;
        }
      }
    }

    .image-des {
      width: 100%;
      height: 120px;
      padding: 12px 16px;
      background: #FFFFFF;
      box-shadow: 0px 0px 6px 0px rgba(218,218,250,0.5);
      border-radius: 6px;
      border: 1px solid #5A5BF2;
      margin-top: 30px;

      input {
        padding: 0;
      }

      .ant-imput-data-count {
        bottom: -42px;
      }

      .btn-area {
        margin-top: 12px;
      }
    }
  }

  .list-content {
    width: calc(100% - 284px);
    padding: 0 30px 30px;

    position: relative;
    background: #f0f2f5;

    &__crop {
      height: 60px;
      padding-left: 16px;
      background: #fff;

      position: absolute;
      left: 20%;
      z-index: 999;

      .ant-input-number-input-wrap {
        >.ant-input-number-input {
          color: #1f1f1f;
        }
      }

      &--left {
        margin-right: 16px;

        &__text {
          color: #60656E;
        }
      }
      &--line {
        width: 1px;
        height: 16px;
        border-right: 1px solid #E6E7EB;
      }
      &--btn {
        width: 80px;
    
        display: flex;
        align-items: center;
        justify-content: space-evenly;

        &__icon02, &__icon03 {
          cursor: pointer;
        }
        
        &__icon02 {
          width: 18px;
        }
        &__icon03 {
          width: 12px;
        }
      }
    }
  }

  .only-content {
    width: 100%;
    padding: 0 30px 30px;
  }

  .image-list-box {
    width: 284px;
    height: calc(100vh - 60px);
    overflow-y: scroll;
    background: #ffffff;

    .list-box {
      height: 100%;
      width: 100%;
      background: #ffffff;
      // overflow: hidden;

      .image-item-list {
        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 24px 0;

        .image-item {
          width: 236px;
          border-radius: 12px;
          padding: 4px;
          border: 2px solid transparent;
          cursor: pointer;
          transition: all 0.25s ease-out;
          overflow: hidden;

          background: #F3F6FF;

          box-sizing: border-box;

          &:not(:last-child) {
            margin-bottom: 14px;
          }
          
          img {
            height: 126px;
            width: 100%;
            object-fit: cover;
            border-radius: 8px;
          }


          &__info {
            padding: 6px 0;
            &--top {
              font-size: 14px;
              color: #1E2229;
              margin-bottom: 0;
            }
            &--bottom {
              font-size: 12px;
              color: #9A9CA3;

              margin-top: 4px;
            }
          }
        }

        .active-image {
          border-color: #1664FF;
        }
      }
    }
  }

  .layer-box {
    width: 220px;
    height: 100%;
    background: #ffffff;
  }

}

.drawing-tool-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 200px;
  .drawing-tool-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
    .drawing-tool-slider-bar {
      width: 100px;
    }
  }
  .drawing-tool-detail-item-btn {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
}

.route-tool-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
}

.image_editor_drawing_tool_box {
  width: 410px;
  max-width: 410px;
  .image_editor_tooltip {
    padding: 0;
  }
}

.image_editor_drawing_tool {
  height: 60px;

  &__icon01, &__icon02, &__icon03 {
    cursor: pointer;
  }
  
  &__icon01 {
    width: 48px;
    text-align: center;

    img {
      width: 14px;
    }
  }
  &__icon02 {
    width: 18px;
  }
  &__icon03 {
    width: 12px;
  }
  &__config {
    flex: 1;
    justify-content: space-between;
    margin: 0 16px;

    &--left, &--right {
      display: flex;
      align-items: center;

      >span {
        font-size: 12px;
        color: #60656E;

        margin-right: 8px;
      }
    }
    &--left {
      >.ant-slider {
        width: 92px;
      }
    }
    &--right {}
  }
  &__btn {
    width: 80px;

    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }

  &__line {
    width: 1px;
    height: 16px;
    border-right: 1px solid #E6E7EB;
  }
}

.image_editor_eraser {
  width: 200px;
  max-width: 200px;
  .image_editor_tooltip {
    padding: 0;
  }

  &__body {
    height: 60px;
    margin-left: 16px;
    display: flex;
    align-items: center;

    >span {
      font-size: 12px;
      color: #60656E;
  
      margin-right: 8px;
    }
  
    >.ant-slider {
      width: 92px;
    }
  }
}

.ie_text_tool_box {
  width: 410px;
  max-width: 410px;

  .image_editor_tooltip {
    padding: 0;
  }

  &__body {
    height: 60px;

    &--line {
      width: 1px;
      height: 20px;
      border-right: 1px solid #E6E7EB;
      margin: 0 16px;
    }

    &--font {
      display: flex;
      flex-direction: column;
      align-items: center;
      
      >img {
        width: 14px;
        margin-bottom: 2px;
      }
      >div {
        width: 18px;
        height: 4px;
        border-radius: 4px;
      }
    }
  }
}

.ie_rotate_tool_box {
  .image_editor_tooltip {
    padding: 0;
  }

  &__body {
    height: 60px;
    padding: 0 18px;

    &--line {
      width: 1px;
      height: 20px;
      border-right: 1px solid #E6E7EB;
      margin: 0 16px;
    }
  }
}

.ie_header_tool_size {
  &__line {
    width: 1px;
    height: 16px;
    border-right: 1px solid #E6E7EB;
    margin: 0 8px 0 20px;
  }

  .ant-input-number-input-wrap {
    >.ant-input-number-input {
      color: #1f1f1f;
    }
  }
}

.ie_image_des {
  width: 944px;

  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #DADCE0;

  margin: 10px auto 0;

  &__input {
    height: 112px !important;
    padding: 18px 15px;
    resize: none !important;
  }
  &__bottom {
    padding-right: 15px;
    height: 50px;
    &--num {
      font-size: 12px;
      color: #999CA3;
    }
  }
}

.ie_save_as_tip {
  &__top {
    >div {
      color: #1E2229;
      font-size: 12px;
      font-weight: 500;
    }
  }
  &__bottom {
    font-weight: 400;
    font-size: 12px;
    color: #60656E;
    line-height: 17px;
  }
}

.ie_save_as_tip_body {
  >.ant-popover-title {}
}

.ie_history_list {
  width: 320px;

  &__title {
    height: 28px;
    line-height: 28px;
    
    font-size: 12px;
    color: #1E222A;
  }

  &__timeline {
    height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;

    padding-top: 10px;
    padding-right: 16px;

    &--list {
      >.ant-timeline-item {
        font-size: 12px;
      }
    }
  }
}
